package com.hailian.fintech.hlfinanceserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wk
 * @since 2020-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hl_jiesuan")
public class Jiesuan implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "jid", type = IdType.AUTO)
    private Integer jid;

    private Integer id;

    /**
     * 商户名称
     */
    private String name;

    /**
     * 结算金额
     */
    private BigDecimal price;

    /**
     * 交易日期
     */
    @TableField
    private Date dealtime;

    /**
     * 外键(关联对账批次表)
     */
    private Integer duizhang_id;


}
